package com.ruantu.clothing.util;

import com.ruantu.clothing.controller.JgController;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 *
 */
public class FinanceReportFooter {
    private String wldwid;
    private double startMoney;
    private double endMoney;
    private double amount;
    private double paid;
    private double cheap;
    private int wldwType;
    private double balance;

    public String getWldwid() {
        this.wldwid = "总计";
        return wldwid;
    }

    public void setWldwid(String wldwid) {
        this.wldwid = wldwid;
    }

    public double getStartMoney() {
        return startMoney;
    }

    public void setStartMoney(double startMoney) {
        this.startMoney = startMoney;
    }

    public double getEndMoney() {
        return endMoney;
    }

    public void setEndMoney(double endMoney) {
        this.endMoney = endMoney;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public double getPaid() {
        return paid;
    }

    public void setPaid(double paid) {
        this.paid = paid;
    }

    public double getCheap() {
        return cheap;
    }

    public void setCheap(double cheap) {
        this.cheap = cheap;
    }

    public int getWldwType() {
        return wldwType;
    }

    public void setWldwType(int wldwType) {
        this.wldwType = wldwType;
    }

    public double getBalance() {
        balance = getAmount() - getPaid();
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    private static final Logger logger = LoggerFactory.getLogger(JgController.class);


}
